import { createRouter, createWebHistory } from 'vue-router'
import App from '@/App.vue'
import AccessLogs from '@/AccessLogs.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL || '/'),
  routes: [
    {
      path: '/',
      name: 'home',
      component: App,
    },
    {
      path: '/access-logs',
      name: 'accessLogs',
      component: AccessLogs,
    },
  ],
})

export default router
